/**
 * roleMenu api
 */
import $http from '../../http/http'

/**
 * 获取角色的菜单列表
 */
export const queryMenusByRoleName = (roleName) => {
    return $http.get("roleMenuMgmt/menu/" + roleName);
}

/**
 * 修改角色菜单
 */
export const modifyRoleMenus = (data) => {
    return $http.post("roleMenuMgmt/modify", data);
}
